package com.itheima.ArrayStudy;

public class ArrayDemo4 {
    public static void main(String[] args) {
        test();
    }
    public static void test(){
        int[][] arr = new int[][]{
                {1,2,3,4},
                {5,6,7,8},
                {9,10,11,12}
        };

        String[][] names = new String[][]{
                {"张三","李四","王五"},
                {"赵六","孙七","周八"},
                {"吴九","郑十"}
        };

        for (int i = 0; i < names.length; i++) {
            System.out.print("第" + (i + 1) +"排"+ "\t");
            for (int j = 0; j < names[i].length; j++) {
                System.out.print(names[i][j] + "\t");
            }
            System.out.println();
        }
    }
}
